implementing models, implemented request handler for file download, teted database for coaches authentication