refactored some code
more refactoring
messing things up
authentication finally workinggit add .git add .
fixed authentication issues and moved error messages to more pleasing spot