front end code for remotely manager app