cleaned up DB calls, URLs with url_for, task created by logged in user, added nav bar