Fixed authentication. Uses a get to get json data but can switch to a post for service. UI also cleaned upto use the authentication code