Added method to get the current User ID from Session

Introduced new webservice to get the current user id.

Also removed some dangling whitespaces.