removed dup eventlistener
fixed fireing renderedevent
fired loggedin through Y
several changes