basic login and data transfer