Particular module to enable if the check of the keyphrase from local storage is successful

Hi there need help, I am new to ERP next so I am looking for one solution. Lets see with steps and eg.

  1. I have a url
  2. In my ERP next login screen I will store the module=leave_management in my local storage.
  3. After logged in to ERP next, I should be able to see on leave management under HR, means I will pull the module value from local storage and have a check on leave module.
    So would like to know is it possible? If not any possible solution to achieve it.