added profile page; fixed error pages