Added status management of sign in/out