added 3 more properties(forceAuthentication, autoAuthe) to Endpoint,
also added logout() and authenticate() methods.
New snippet to show authentication status, and do actions authentication
and logout
Added new authentication handler for logout and authenticate
actions. Registerd authentication handler to Service servlet.
Added new Endpoint property isAuthenticated to endpoint