added classes for ui and fixed the bug ssesion end
updated mini file