working authentication
added UI