set Login features (TO BE REFACTORED)