fix url and reload after submit, and add comments for signin and signup