login works with the promise created
Merge pull request #1 from vanhineam/spark_login

Added Login to spark