added unqiue constraint for username
added some test for createUser
Merge branch 'master' of https://github.com/werme/DAT076