submit form not working added top bar navigation