added more edit profile functionality, along with some fixes