adding toast to login dialog