Shashikant,
You can custom login logic as https://bartgroot.nl/mendix/custom-checks-on-login/.
This depends on exactly when you want to perform the custom behaviour. If it doesn't matter the user is already logged in, you can put it in the homepage microflow? Note that the actions is always triggered then when using the microflow.
Otherwise you can use https://appstore.home.mendix.com/link/app/66443/