changed filter and removed unused method
need to add the authentication filter, too