added login and logout tests
added is_logged_in? test method