added foundation and devise for users