Fixed install and upgrade links in admin menu and fixed incorrect acl checking