Merged Neil's code with the updated Check Session ID task code

The new code allows for checking if an username is logged in, which user that is, what its privilege is, and take action based off the results. For example, the login page will lead to the main menu if an user is detected to be logged in.
Merge pull request #4 from z-neil/sessionID

Merged Neil's code with the updated Check Session ID task code