split registration view and controllers, changed unit tests to reflect changes