change devise
deleted custom_failure class
modify app controller
modify staff panel