Removed hardcoded list of functions.
Refactored UserService and FunctionService to be more testable.
Added test cases for FunctionService
Added tests for UserService
More tests for UserService
Renamed FunctionService tests.