update the way user login; fix bug when showing active jobs.
Merge pull request #45 from Oneway102/develop

update the way user login; fix bug when showing active jobs.