Also uses int in database to represent user ids (Cf. #844 and 7fe2cd86).