add method for checking if the user has the rights for accesing /create/new.edit/delete