register, change to get_user func