User controller refactored for using promises, started creating profile picture functionality