added javascript into restaurants.js and deleted it from view.
Modals are now working
'
fixed the login helper to pass tests
some tests are still failing... wll work on them tomorrow