condensed login page, replaced form_tag with form_for on new_user form, used each_with_index on posts#index