updated login script
updated installer to supprt new login system