Added reload to login on failure