add login functionality (with salted passwords); add bootstrap glyphicons; refactor out base template and add login a register pages