add style to various fields; refactor credentials