add rules in  ui-router and logic to display login/disconnect and stuff