corrected some admin functionality
changes in admin view file