fixed the login system, login should now work, need to fix the error messaging
all the new js and angular files