Finish sign in and fix gemfile