Added a template hook to access the user profile.