Adding a horizontal line before the log-out button on the profile dropdown menu will only show if you will be using the default profile dropdown menu. This will not show if you are using a custom profile dropdown menu.


Sample image: