Add click on login  event to frontpage.html