store registered nicks in postgresql