add: integrate tankauth
add: integration of smarty for testing purpose
add: hook to check if user is logged in before any controller logic is executed
Merge branch 'master' into mglaubitz