Managed to get the form working and the picture set as the username.file_extension