Error Handling when adding password