changed login to give dictionary output