implemented user controller and signup authentication