yjy:fixed some bug
the profile can be added in add.html page