split login and register view. added rspec. added sample registration controller.