1 00:00:00,530 --> 00:00:05,540 In this lesson we'll create a log in page used to access the member only blog. 2 00:00:05,540 --> 00:00:11,780 The log in page will be displayed if the Web page detects no active session variables indicating that 3 00:00:11,780 --> 00:00:19,910 the user is signed in so if we click on blog and the system detects that we're not signed into any account 4 00:00:20,810 --> 00:00:26,030 you'll see we receive a message indicating that we must be logged into view the blog. 5 00:00:26,030 --> 00:00:34,580 This here is an example of the log in form and request the email address and password in order to authenticate 6 00:00:34,580 --> 00:00:36,480 the user. 7 00:00:36,950 --> 00:00:44,550 If the user provides an incorrect combination an error message will be displayed authentication failure. 8 00:00:44,740 --> 00:00:46,690 If the correct combination is supplied 9 00:00:54,230 --> 00:01:02,480 redirect the user to the blog will also be modifying the blogs or displays a welcome message is shown 10 00:01:02,480 --> 00:01:03,220 here. 11 00:01:03,230 --> 00:01:09,940 We'll also be modifying the blogs with displays a welcome message as shown here and also a logout link 12 00:01:10,000 --> 00:01:12,220 that terminates the session. 13 00:01:12,220 --> 00:01:19,390 Once logged out the user will be directed back to the home page and a message will be displayed indicating 14 00:01:19,390 --> 00:01:25,850 that the user has been successfully logged out of the system the log in page will also have a button 15 00:01:26,000 --> 00:01:32,310 with a link to the registration form in case the user is not yet a member.