Created a admin_or_correct_user definition to manage user permissions