Implemented sign out