some error handling and /:username