fix path error and test login server sucessfully