added i18n-support
Added german and english locale files
Use path.resolve
login i18n
fix activation email
Report taken usernames on register correctly
register i18n
First create the user in db, then send the activation mail; set page in mail