Fixed bugs in stocks-hourly.
Recording new users into database.