User log page and user old code clean up