draft work OCR impl
merge with login dialog
merge with login dialog