Issue #79, Added Ajax Authentication for logging out