PHP Error fix continued

Fixed php errors from form re-population on createuser page, then
cleaned up code that outputs createuser and login content