Fixed ui problems with login and modals