added paying rent function and fix absolute link