added additional password box to signup form, made changes to handle errors to also handle local errors
cleaned up router and changed it so that the url is correct after logging out