completed adding main functionality of profile page and getaway page