Authentication is getting there, need to refactor some code, and finish the authentication process.