add ajax for users actions + little fixes