added file search form to classes page
got rid of user args in files forms
added permission and a search form
grouped buttons; fixed permissions