Fixed devise scope issue