login() returns all selected data. register() returns custom "data"