init install include login and base func of logs.