removed end from user controller