register form fix, add advert form implementation