gets random quote from database, user authentication