How can I display the register form in the top header

Hi,

How can I display the register form in the top header on the homepage?

I have tried copying the code from /public_html/wp-content/themes/bp-social/registration/register.php into /public_html/wp-content/themes/bp-social/lib/templates/wp-template/top-header.php but it is not showing.

Any advice?