Fixed menu generating per user according permission
Minor improvement. In the previous version, the menu items that the user didn't have permission to access to, were removed from the json menu. Now, we create new instance and we only add the menu items that the user has permission to access