Added edit profile functionality (profile.php)