Added json devise interface