I have a database that needs to have unique values wherein it will provide an error saying "Username already exist" and will not add to database. How to do this?