Updated login and tasks templates with placeholders and fixed bugs in code