Added basic auth methods