Changed logout to start new activity
Added error handlnig fro no xml