added working register button
frontend for submit button corrected