Moved biz login into lib