Login page PHP scripts

Hello Everyone,

I am using a ThemeForest template to create a login page. I found an example I would like to create my UI (based on http://themes.semicolonweb.com/html/canvas/login-1.php) but I didn`t find any examples I could follow regarding handling the user session/security, information about php scripts which I could use and how to handle user sessions.

Are such PHP scripts included in ThemeForest template? Any info on how to create such login page are more than welcomed.