added better quiz login and rendering