Template changes to authentication