user middleware for skin viewer added