Added AWS S3 configurations for paperclip to store images on AWS S3, and reverting the authenticate user function