Added logout page and restricted routes with filters.