Make some changes to authentication