Commit parcial, implementando login/logout