fixed research save, login issues, got tests working again