add function,welcome alert and timer

[![LGTM](http://www.lgtm.in/p/0UuMUrhaq)](http://www.lgtm.in/i/0UuMUrhaq)

[:+1:](http://www.lgtm.in/u/0UuMUrhaq) [:-1:](http://www.lgtm.in/r/0UuMUrhaq)