Adding Csrf Protection and Starting CLI