added confirmation error
add conditionals to user controller