Added vault functionality to profile.php