before filter allows homepage index and show for viewers. show method now allows unauthorized users to view the provider page even though the ratings link requires a current user (fixes bug)
ensure logged in method takes the session full path and stores it into previous_url value before redirecting to a new session path
The sessions create method takes the user session id/path and stores it before deleting it and inserting the previous url path - (original fullpath) or root path - and redirects the user to that path.