Refactoring and modernizing legacy code


Opening sign-in…