Adding basic authentication and account creation