Changes on generating user id