move some styles to common_styles.css
use new primary-button class
refactor sign-in display logic