Working login/logout using Eloquent.