added save method to user registration model