package com.tymiller.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {

}

@@ -27,16 +27,139 @@
 oller;%0A%0A
+import org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.web.bind.annotation.RequestBody;%0A
 import o
@@ -213,16 +213,16 @@
 apping;%0A
-
 import o
@@ -277,16 +277,49 @@
 oller;%0A%0A
+import com.tymiller.model.User;%0A%0A
 @RestCon
@@ -381,11 +381,211 @@
 oller %7B%0A
+%09%0A%09@Autowired%0A%09private UserService userService;%0A%09%0A%09public String login() %7B%7D%0A%09%0A%09@RequestMapping(value=%22/register%22 method = RequestMethod.POST)%09%0A%09public User registerUser(@RequestBody User user) %7B%0A%09%09%0A%09%7D
 %0A%7D%0A

add user service, login method, and register user