I want to show a popup for login and register when someone

I want to show a popup for login and register when someone click those links in the primary navigation(like in the coursepress pro theme).
Also it should include social login as well.

Any ideas on how to do this?

Thanks!