refactor out sign in button to ui lib