base template; fixed logging in and adding tasks;