added devise and thin