An option for you is to use the wp_login_form($args) function and add the destination in the $args variable.
Alternatively, you can use the login_redirect filter and change the redirects. Here’s a great example for you to redirect admins to the dashboard and other users to the homepage. You can change the roles accordingly, to what you have set in the database. Here’s the link for the full example: https://codex.www.ads-software.com/Plugin_API/Filter_Reference/login_redirect
Hope that helps!
Either way I will try your suggestion
]]>