Fix the download function bugs
Add front attachment download function
Add front paging function