In User model added the attr accessible row. For some reason without it I was unable to register a user