made eddies code cleaner
Finished integrating authentication with old tests