adding user to every page in templates