adding timeout for POST, catching timout exception
catch empty filename for new users