example rails app using devise authentication and authorization