Added an error message when trying to register a duplicate user. Closes #15