added working remember me functionality and fixed currentModel url to work with subdomains
avoiding fatal error when item->url does not exist