Merge pull request #3 from chruffer/master

prepared initial login handling structure
logout button + func
login function running / create new principal running
navbar temporarily in index.html
navbar concept / new html templates (blank)
added logout to nav; added get currency all ;cleand up a bit