making profile.php buttons dynamic