emptied checkLogin temporarily