Updates to authentication