Added code to send current module to the view, the current module has properties to determine if the user has permission to view, create,edit,delete