Improve installation process.

1) Added sample configuration files.
2) Create temporary directory if it doesn't exist.
3) Login user after install.