Fixed issues with sign-in modal