code cleanup
manage errors in signin and signup views