added specified ruby version in gemfile
added login and logout feature