created poc login and fixed issues with karma test runner