Added template contexts for auth