resolve devise auth configuration, solved session/user issue with devise scope in routes