Login, templates and styling

Added most of the functionality, templates are finalized, added some additional styling.