Added devise and alerts