fix messageId null when receiving message
#477 use seconds instead of mills
fix paid set not called in initial login