Fix login issues & Add setting panel