changes to profile.html and added logout functionality