updated server to display an error if user file cannot be found