Add user controller and unit tests