Fixed getPolicy method, Edited index page