added basic authentication a support
added basic profile support