add console to if else to print the message saying only can get permit