Added Simple test for LoginCOntroller + ugly some debugging msgs