Added test for LoginController