Idea: Redirects for Pro Form

Hello, I was hoping that it was possible to maybe integrate some of these features as it would be really handy.
1. When a user is on x page then logs in they stay on the page they were on.
2. When an admin logs in it will take them to the dashboard, if the subscriber/customer logs in they stay on the same page.

There is a really good plugin called actions pack for elementor , if you were able to integrate features from that you would be cooking man

What do you think about this idea?