Add loginhandler and uploadhandler
implement form renderer