Added webservice use permission. Removed useless layer.
Updated permission verification