adding filter to authenticate admin and user, removing dashing and redis