complete with all s3 api and handles user attempts to bypass angular routing