Fixed double account creation bug

A bug that would allow a new user to create a new user under the
name of an already registered user has been fixed. A loop makes
sure that the name supplied does not match any other registered names.

All debugging printf's have also been removed.