Clean-up
Add auth creds here also.
Add username and password here also.
Make wildcard optional here also, still needs proper handling.