readded login dialog