added refresh page after login