get_or_init_user method