Revert "Revert ba061a9..14770d4"

This reverts commit c49fa9d5ef8b22dd3ed88ffeb0908f0955ff0938.
Revert ba061a9..f1d42e8

This rolls back to commit ba061a91e46647e07ae114f76a53dde12ec92355.
added registration contrller and devise permitted parameters