Add get_by_id and get_by_name to user model