Fixed DB get and set issue with nickname

Nickname doesn't have to be unique for all users, just within the same
user.