Open the login popup Or trigger event when button is pressed

where to place this code in my mint theme ?