Guarantee login everytime trying to update homework over network.