added user error display message and create controller functionality