add intervals to wait for FB and login rest