Added GET request instead of POST
Added preferences