added admin side and user side views