Got authorization working with devise