added login/logout methods to session_helper