updated PHP files and working front end (not tied with angular and backend)