added register modal and css
modified error message and refactor routes js
Modified scope of MainController for whole body
signup/logout added to ui
updated and organized services