add lib directory, add UserControllerTest