added todo not on user register
fixed loading user after registration
fixed return value when inserting to table with no auto increment