Seems to me a like hacky ... will wait to implement this in a production project, login form handling have to be very basic stuff.
Posted in Action Cable vs Mailboxer?
That would a very interesting video to see. Maiboxer + ActionCable. So we dont need to start from scratch for a full messaging system.