preparations for user and pagets