update index.html app.js MainController.js  and add templates - login,register, all-adds; services - mainPage