added unit tests, added uniq index to username field + update import, added configuration page