fixed user layout and reverse lookup javascript error