fixed some issues, path url and devise added