File Management System but its not taking the data from form and cant submit

I have created a File Management System that allows users to create their own accounts, upload and manage files as well as create and manage albums.

However, I want to create a limit of rows (of 10) for handling large data by adding pages to “Manage Files” and when creating an album as well in “Create Album” ‘Picking Media Files’. I keep having errors as well when it comes to being able to submit the form, the checkboxes lose their checked state when submitting. I don’t understand why

Link to Code: Github