The frog login extension rewritten in backbone