fixed bug with modal(hide) after login