fixed bug on anon login lockup

fixed bug in widget,profile.js that stops anonymous users from logging
in.