added rspec tests and parsley for url validation