add error page

add autfocus attribute to forms