Corrected mapping for User struct
Added a factory method in user.go
Used BigInt for dates in user table
Corrected logic for inserting user into the database