Added migration for db initializing
Added get method in REST api for instances and usernames viewing