made changes to use server for all my pages