implementing cyto user login in server auth