The pin code was designed to get rid of the hassle of constantly typing your password. It's a 4-digit code that replaces your password so you can easily sign in or switch between accounts. To get a pin code follow these steps:
Click your profile icon on the top right corner.
Click the PIN option from the drop down menu.
If you would like a different pin code click the Generate New Pin code button.