Fix Login session and Add test app html