added Devise and updated login logout pages