Update UI.java

Issue of multiple instance of same user being logged in fixed