closed #297
changed get_uid_by_userslug to be error-first