if user not logged in, the redirecto to dashboard
addcategory and deleteCategory implemented on servlet