Changed register and login forms to be dynamic forms too