Added pressed state and validation for check-username