Added userController and func with server