finsihed major backend support for handling custom inputs from user