Merge pull request #25 from cwh42/master

Fixing redirect to 'index' after login.
allow job_set_waiting only on running jobs (action #1733)