starting refcator for multile tabs
handle user login