fixed users and images controller

fixed images controller
Merge pull request #21 from rpazyaquian/fixing_user_controller

fixed users and images controller