Added security checks to the User Controller
Added security checks to the User Controller, closes #1