Bug fixed for Log class. Login method, cast to boolean $rememberMe variable