Verifying if a user exists in the database

In this lesson, we are going to learn how to create flush messages with the session array. We'll create a logic that will help us verify the existing users and if the user doesn’t exist we’ll successfully create one. 

Watch in the tutorial.