adding daemon for checkLogin