move timeformat functions to own class
more secure includes
cleanup dirconstants
fix inclusion of database settings
rework of class Login
modified init scripts to work with new class Login