Create account and login fixed

-User can now login with or without correct credentials without error
-Create account up to date with username and will now redirect user if
successful
-JS file updated to display response from server as well