refresh page on successful login