updated the security exit for nicer ui, and also enter key event for when in password