Added login dialog auto openning