added devise and user regiestration.