add to user model - find_by_code