added tasks template, forms view and corrected some bugs