Updated login form. Added export functions.