Handling ivalid login
Login and logout system