populated modal with details, added debug mode and default login for testing