made changes to get Devise