register users and login with Josh's server