[Pranav] Fixed migration by syncing the sequence,type-ahead search for the application,logs and plans and fixed add user(no attribute is_superuser)