Logging added and fixed package name of WSCredentials interface
Additional logging and short circuit checking if role is found