change logging to a single file to a rotating logger
remove debug outputs
prepare for i18n and change login from e-mail to username