Add Edit function to UserController #31
Create test cases for all controllers #28
Added test for UserController.
Modified UserController to fulfil coding standards and resolve some bugs.