Use proper form for accessing the current user in the templates