finish user sign in and out