Login Destination (Drupal 7, 8 and 9)
The Login Destination module allows you to customize the destination that a user is redirected to after logging in, registering to the site, using a one-time login link or logging out. The destination can be an internal page or an external URL. It is possible to specify certain conditions like referring pages or user roles and make the destination depend upon them. You may use PHP snippets to provide custom conditions and destinations. It is also possible to keep users on the currently visited page after logging in or out.
User Default Page (Drupal 7 and 8)
The User Default Page module provides you the facility to customize the destination a user is redirected to after logging in or logging out. The module provides you a user interface to configure the redirection settings. With this module you can add, edit or delete a user default page, you can give permission the user default page as per the roles or the user or both and you can set the URL path for login and logout action along with success messages.