adding flash processing, working on login