Cast user id to integer