Add checks for duplicat profile pics and invalid extensions.
Changed maxUploadSize to be taken in as a property. Added 'cancel' button to student forms which returns back to the student profile page.