fixed exception handling when user doesn't exist