implemented authentication levels of anon,user,admin and setup the