Fixed bug reload page when switch between login and sign up tabs.