Added roles to get user function
Role is not saved in the database
status codes sent exclusively instead of error messages