added rails and javascript code for gallery
added user mailer, edited gallery
changed user mailer view name
patched the UI a bit