starts main acitivity when logged in