changed redirrect and default page