profile details now fetched from db