Added welcome page

welcome page will be shown if user have not setup userid and token
Fixed deprecated module import name
Dropped trailinig whitespaces and tabs replaced by spaces
dropped unused variable