Created erb file for the new method of sessions. Gets login info from
the user and store it in params.