determining if the user is logged in

I am new to wordpress, and trying to get my head around the idea of sessions and all. I read in a lot of places that session concept is not used in wordpress. Anyway, I downloaded the my-login-theme plugin. My question is, when a user navigates to some secured area, I want to check if that user is logged in or not. Once I check that, I want to get user details like email, and full name. Is this possible in wordpress?

Subdomain multisite gives 404 on sub sites

I used a one click install to install wordpress and then converted it into a sub domain multisite. I have made the required changes to the wp-config and htaccess file.
The main site example.com works absolutely fine.
When I try to add another site, it shows that the site has been successfully added. But the address sub1.example.com shows a page that says no content here and sub1.example.com/wp-admin gives a 404 error.(These are both generic pages similar to what my server shows on any random subdomain)