Added the code to connect to Amazon DB and use the users from the users table