Made error window for logins