login/logout validation functionalities.