Updated some scripts and added a javascript function to hide the login button when a user is logged in.