Added Add function to webapp