first approach for using the redmine API instead of an iframe