visitor can register [finish #79854006 #79854478]

Fix for #79854006 #79854478

Second fix [#79854006 #79854478]

Third fix [#79854006 #79854478]

add shared partials

remove posts controller

Fix spacing in Users Controller; Use javascript include helper in layout; Add document ready to application.js