adding error messages
saving get request as module