Have made client more generic, user has to write in id and password