Reverted the login function and set a few additional fields to undefined if they are unneeded.
Merge branch 'dev' of https://github.com/c1moore/cen3031project into dev