added profile.php for editing and viewing profiles