implement auto increment id for usermodel