sign in and sign off is working properly