finish user sign-in and sign out funciton