Assuming you didn't delete your root user - log in as root and add a user account.
When you say "deleted all users" did you also delete the users set up by the system? By which I mean root, wheel, etc. If so, you may have ended up rendering your system pretty near unusable. Why did you do this.