user controller spec tests