fixed some more db bugs, hidden password on page form for register, started implementing stats recording