Fixed the Auth system