Added actions to go to deact.php and editprofile.php