fixed register modal on index

need to fix loginboxes, add ruby, translate to view.erb