edit profile 99%

this file contains the edit profile logic almost done but upload profile
is remained and you have to do it yourself because we have no time for
it.