more refactoring index, secciones
login, and more refactoring
fixing merging problems