Added terms and conditions popup on login page - fixed minor bug in popup js and added functionality for close link by default