adjust css for register and login form, extract err msg view