fix user profile name validation

Signed-off-by: Tim Liu <liu33173847@hotmail.com>
generated profile controller
updated profile abd added scope in