login box modified to be refreshed after login #1944