In this video we’ll be adding the Javascript to the index page that forces the login box to appear when the user hasn’t logged in and the code that removes the login box whenever the user has logged in.

Source Code:

Don’t forget to like, favourite and subscribe for more!