Trying to solve problem from here http://stackoverflow.com/questions/23843579/rails-device-adding-user-when-log-in