Created by watching Laravel 4 Authentication videos on Youtube, thanks to phpacademy.