The login function is now working, needs some visual touch up