Generate user controller and test