Added half of the authentication system, I hope this push does not mess anything up