login completo fixed #6, fixed #24