added login for ui