Converted uid in user model to integer