User profile refactoring.
Fix sign in button and width of text on mobile. Closes #994 and closes #995.