added native logon feature. restructured the way the system stores
current user