Added A lot of login func.