Add login network logic