add loging form on offline layout also related styles