Validate username uniqueness

Signed-off-by: Jaka Hudoklin <jakahudoklin@gmail.com>
Merge pull request #385 from offlinehacker/master

Validate username uniqueness