move inline styles to css; refresh tasks after login