login/logout feature added