Updated version specifiers in Gemfile to prevent incompatibility errors when installing bundle from scratch
Simplifying logic to return user to requested URL after login