added ajax interactions for user interface