changed to find_by to avoid throwing exception
changed upload routes to get path helper methods
changed find to find_by