Separated get_users() view into different methods

get_users() was getting too crowded, so I separated different request
methods.

Also added a 405 error handler.

All errorhandlers and execptions will later go into separate files.