added some code to users controller in attempt to resolve issue with profile page erroring out when add button is clicked without first specifying file to use as avatar. Unfotunately didnt' work, but I'm leaving it in the users controller for now, commented out.