fixing tenant approving and creating main pages