creating the form for the left sidebar