Improved login system -- pages cannot be accessed until user is logged in.