seperated user and admin views