calculation of casted votes fixed, date for user registration now formatted