User model fixes, rails changed to 3.2.13