created log in authentication and session functions
update Gemfile
incidential changes