Added functionality for user download