Fixed bug with profile vali
updated profile and added scope