store ip in user model (fix #1387) (#1388)
store ip in user model (fix #1387) (#1388)

* store ip in user model

* fix issue introduced in prev commit

TimCliff/steemit.com,steemit/steemit.com,steemit/steemit.com,TimCliff/steemit.com,steemit/steemit.com,TimCliff/steemit.com