throw error if no password
error if no last name