photo controller added for user