api handling without database yet