optimize devise for user and admin