added integration test for admin login