Fixed old bug where action after logging in wasn't working properly
Refactored code for better readability and reusability
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namerequest license (Apache 2.0).
Issue #: /bcgov/entity#19256
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namerequest license (Apache 2.0).