debugging usermanagement routes, eliminate some logic errors
debugging usermanagement routes, eliminate some logic errors

ohaz/amos-ss15-proj1,ohaz/amos-ss15-proj1,ohaz/amos-ss15-proj1,ohaz/amos-ss15-proj1,ohaz/amos-ss15-proj1,ohaz/amos-ss15-proj1,ohaz/amos-ss15-proj1,ohaz/amos-ss15-proj1