Added user sign in/out functionality