configuration of gem devise like omr