checking for bad user request
creating model from user request