a little DRYer usermodel

Signed-off-by: Alexander Skjolden <alex@plastboks.net>