updated files to use devise