modif structure of login