Added bcn input validation

Input validation works. It still needs to show the error messages.