ulogin auth + some fixes