Setup the pi like this http://www.opentechguides.com/how-to/article/raspberry-pi/5/raspberry-pi-auto-start.html