inline/display latex code change and login bug fix