added authentecation and method stubs to locs.php