checked in registerlink & addeditprofile