fix a bug: total_signin_times should be 0 instead of nil.
redirect to root_path after signing up.