Changed login functionality to use Laravel Authentication correctly