added a nested model on the devise registration form using accepts_nested_attributes_for. Now when a user is registerd a user_profile is created with a user name populated