Improvement on registerUserReq

Removed the unnecessary query for figuring out userId via $lastrow.