adapted login and admin access for db entries, added user code to install routine