Polymer login button with smarts