Update profile.php

functionalities added to entire profile page