finish of userLogin
correcting code