Added momentjs lib
Sessions persitence
uncommented automatic HTTPS redirect
handling profile and loggedIn/loggedOut views