add close button for login box and change register